@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
[class^=co-icon-]{
  font-family: "iconfont" !important;
  font-size: 24px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
#app .hideSidebar .submenu-title-noDropdown .el-tooltip [class^=co-icon-]{
  display: inline-block;
  margin-left: 20px;
}
#app .hideSidebar .el-submenu>.el-submenu__title [class^=co-icon-]{
  display: inline-block;
  margin-left: 20px;
}
.tableHeader{
  background: #0a76a4 !important;
}
.el-submenu.is-active > .el-submenu__title [class^=co-icon-]{
  color: #fff;
}
#app .sidebar-container .is-active > .el-submenu__title{
  color: #fff;
}
.el-divider--horizontal{
  margin: 40px 0 !important;
}
.basic-detail-page{
  background: #ffffff;
  padding-bottom: 20px;
  border-radius: 0 0 10px 10px;
  overflow: auto;
  height: calc(100vh - 210px);
  .basic-info{
    height: calc(100vh - 400px);
    overflow: auto;
    .el-row-item {
      color: #333333;
      //margin: 10px 10px 10px 30px;
      margin: 0 auto;
      font-size: 16px;
      line-height: 58px;
      font-weight: bold;
      //max-width: 1200px;
      border-left:1px solid #9e9d9d;
      border-bottom:1px solid #9e9d9d;
      .el-col{
        border-top:1px solid #9e9d9d;
        border-right:1px solid #9e9d9d;
      }
      label{
        font-weight: normal;
        color: #424242;
        width: 200px;
        margin-right: 18px;
        background: #d2e5fa;
        border-right:1px solid #9e9d9d;
        padding: 0 10px;
        display: inline-block;
        text-align-last:right;
        text-align:right;
      }
    }
  }
  .box-card-item{
    margin: 20px 60px;
    .clearfix{
      font-weight: bolder;
      color: #424242;
    }
  }
  .tabs{
    min-width: 1200px;
    margin: 0 20px;
  }
  .page-header{
    background: #d2e5fa;
    padding: 14px;
    margin-bottom: 20px;
  }
}
.file-page {
  .is-fullscreen{
    .el-dialog__body{
      padding: 0 20px !important;
    }
    .el-dialog__header{
      padding: 0 20px !important;
      .el-row-item{
        line-height: 38px !important;
      }
    }
  }
}
.center-tabs {
  .el-tabs__header {
    margin-bottom: 0!important;
  }
  .el-tabs__item {
    width: 50%;
    text-align: center;
  }
  .el-tabs__nav {
    width: 100%;
  }
}
.layout-container {
  position: relative;
  height: calc(100vh - 210px);
  margin: 0;
  .left-container {
    background: #fff;
    border-right: 5px solid #f3f1f1;
    height: 100%;
    padding: 20px;
    width: 100%;
    //min-width: 300px;
  }
  .right-container{
    background: #fff;
    border-left: 5px solid #f3f1f1;
    height: 100%;
  }
  .custom-tree-node{
    span{
      font-size: 14px !important;
    }
  }
  .co-icon-zg-folder-opened-fill, .co-icon-folder_opened{
    color: #f5d672;
    margin-right: 10px;
    font-size: 16px;
  }
}
.el-avatar{
  vertical-align: middle;
  margin-right: 10px;
}
.is-plain{
  [class^=co-icon-]{
    font-size: 12px;
  }
}
.bpmn-icon-data-store, .bpmn-icon-group, .bpmn-icon-participant, .bpmn-icon-data-object, .bpmn-icon-subprocess-expanded, .bjs-powered-by {
  display: none !important;
}
.swpuLink{
  cursor: pointer;
  :hover{
    color: #00afff;
  }
}
.file-detail-dialog{
  .el-page-header{
    line-height: 60px;
  }
  .el-page-header__content{
    flex: 1;
  }
}
.col-light-yellow {
  background-color: #E2EFDA;
  font-weight: bold;
}
.col-light-blue {
  background-color: #ABDEE0;
  font-weight: bold;
}
.injeqpt, .prodConstrGas {
  .col-blue {
    background-color: #b6e3e9;
  }
  .col-red {
    background-color: red;
    color: #fff;
  }
  .col-green{
    background-color: #d9f1f1;
  }
  .col-orange{
    background-color: #fad4ae;
  }
  .col-yellow{
    background-color: #fdafab;
  }
  .col-gray{
    background-color: #D8D8D8;
  }
  .vxe-table--render-default.border--full .vxe-body--column, .vxe-table--render-default.border--full .vxe-footer--column, .vxe-table--render-default.border--full .vxe-header--column{
    background-image: -webkit-gradient(linear,left top, left bottom,from(#000000),to(#000000)),-webkit-gradient(linear,left top, left bottom,from(#000000),to(#000000)) !important;
    background-image: linear-gradient(#000,#000),linear-gradient(#000,#000) !important;
  }
  .vxe-table--render-default{
    color: #000000;
  }
  .vxe-table--render-default .vxe-table--border-line{
    border: 1px solid #000;
  }
}
.occ{
  .row-green {
    background-color: #187;
    color: #fff;
  }
  .col-blue {
    background-color: #D9F1F1;
    color: #000;
  }
  .col-red {
    background-color: #fdafab;
    color: #000;
  }
  .col-orange {
    background-color: #FAD4AE;
    color: #000;
  }
  .col-yellow {
    background-color: #F6CF80;
    color: #000;
  }
  .vxe-table--render-default.border--full .vxe-body--column, .vxe-table--render-default.border--full .vxe-footer--column, .vxe-table--render-default.border--full .vxe-header--column{
    background-image: -webkit-gradient(linear,left top, left bottom,from(#000000),to(#000000)),-webkit-gradient(linear,left top, left bottom,from(#000000),to(#000000)) !important;
    background-image: linear-gradient(#000,#000),linear-gradient(#000,#000) !important;
  }
  .vxe-table--render-default{
    color: #000000;
  }
  .vxe-table--render-default .vxe-table--border-line{
    border: 1px solid #000;
  }
  .vxe-table--render-default .vxe-cell{
    padding-left: 2px;
    padding-right: 2px;
  }
  .vxe-table--render-default.size--mini .vxe-body--column:not(.col--ellipsis), .vxe-table--render-default.size--mini .vxe-footer--column:not(.col--ellipsis), .vxe-table--render-default.size--mini .vxe-header--column:not(.col--ellipsis){
       padding: 4px 0;
  }
  .vxe-header--column .vxe-cell--title{
    font-size: 14px;
  }
  //.vxe-header--column.common .vxe-cell--title{
  //  position: absolute;
  //  bottom: -12px;
  //  left: 50%;
  //  transform: translate(-50%, 0);
  //  z-index: 1;
  //  width: calc(100% - 2px);
  //  background-color: #98ca01;
  //}
  //.vxe-header--column.common1 .vxe-cell--title{
  //  position: absolute;
  //  bottom: -12px;
  //  left: 50%;
  //  transform: translate(-50%, 0);
  //  z-index: 1;
  //  width: calc(100% - 2px);
  //  background-color: #fdca01;
  //}
}
.el-transfer-panel{
  width: 360px !important;
}
.el-transfer-panel__body, .el-transfer-panel__list{
  height: 560px !important;
}
